using System;
using System.Collections;
using System.Collections.Generic;

using MemberMgr.Data.Base;

namespace MemberMgr.Data.BusinessObjects
{
    public partial class tNote : BusinessBase<uint>
    {
        #region Declarations

		private string _notetopic = String.Empty;
		private string _notecontent = String.Empty;
		private System.DateTime _notetime = new DateTime();
		private uint _noteuser = default(UInt32);
		private System.DateTime _endtime = new DateTime();
		
		
		
		#endregion

        #region Constructors

        public tNote() { }

        #endregion

        #region Methods

        public override int GetHashCode()
        {
            System.Text.StringBuilder sb = new System.Text.StringBuilder();
            
            sb.Append(this.GetType().FullName);
			sb.Append(_notetopic);
			sb.Append(_notecontent);
			sb.Append(_notetime);
			sb.Append(_noteuser);
			sb.Append(_endtime);

            return sb.ToString().GetHashCode();
        }

        #endregion

        #region Properties

		public virtual string Notetopic
        {
            get { return _notetopic; }
			set
			{
				OnNotetopicChanging();
				_notetopic = value;
				OnNotetopicChanged();
			}
        }
		partial void OnNotetopicChanging();
		partial void OnNotetopicChanged();
		
		public virtual string Notecontent
        {
            get { return _notecontent; }
			set
			{
				OnNotecontentChanging();
				_notecontent = value;
				OnNotecontentChanged();
			}
        }
		partial void OnNotecontentChanging();
		partial void OnNotecontentChanged();
		
		public virtual System.DateTime Notetime
        {
            get { return _notetime; }
			set
			{
				OnNotetimeChanging();
				_notetime = value;
				OnNotetimeChanged();
			}
        }
		partial void OnNotetimeChanging();
		partial void OnNotetimeChanged();
		
		public virtual uint Noteuser
        {
            get { return _noteuser; }
			set
			{
				OnNoteuserChanging();
				_noteuser = value;
				OnNoteuserChanged();
			}
        }
		partial void OnNoteuserChanging();
		partial void OnNoteuserChanged();
		
		public virtual System.DateTime Endtime
        {
            get { return _endtime; }
			set
			{
				OnEndtimeChanging();
				_endtime = value;
				OnEndtimeChanged();
			}
        }
		partial void OnEndtimeChanging();
		partial void OnEndtimeChanged();
		
        #endregion
    }
}
